<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>knet: E:/knet-git/knet/knet/channel_ref_api.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">knet
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="modules.html"><span>模块</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_885cc87fac2d91e269af0a5a959fa5f6.html">E:</a></li><li class="navelem"><a class="el" href="dir_4e74998c9a9305a116abc25fcf9a1edb.html">knet-git</a></li><li class="navelem"><a class="el" href="dir_a1c045b39f32066568ae964b52db514f.html">knet</a></li><li class="navelem"><a class="el" href="dir_f76d03789f0b12416cfffea59e2ed47d.html">knet</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">channel_ref_api.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Copyright (c) 2014-2015, dennis wang</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * All rights reserved.</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * modification, are permitted provided that the following conditions are met:</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *     * Redistributions of source code must retain the above copyright</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *       notice, this list of conditions and the following disclaimer.</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> *     * Redistributions in binary form must reproduce the above copyright</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> *       notice, this list of conditions and the following disclaimer in the</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> *       documentation and/or other materials provided with the distribution.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> * </span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS &quot;AS IS&quot; AND</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * DISCLAIMED. IN NO EVENT SHALL dennis wang BE LIABLE FOR ANY</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment"> * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment"> * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span></div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#ifndef CHANNEL_REF_API_H</span></div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#define CHANNEL_REF_API_H</span></div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &quot;config.h&quot;</span></div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga7b76c4078bbe8272206a5d7467ccd4ed">channel_ref_share</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref);</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gab4248c6e10ac538b5d37b927bbe39ef1">channel_ref_leave</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref);</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga1a8d1f5550cf26313cbb6575e8b2a32c">channel_ref_connect</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref, <span class="keyword">const</span> <span class="keywordtype">char</span>* ip, <span class="keywordtype">int</span> port, <span class="keywordtype">int</span> timeout);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gae9ae0ae2a42eabf6a544ce4e0f001c9e">channel_ref_accept</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref, <span class="keyword">const</span> <span class="keywordtype">char</span>* ip, <span class="keywordtype">int</span> port, <span class="keywordtype">int</span> backlog);</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gae003fde214ddbf4feec22ddb89b8257c">channel_ref_check_balance</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref);</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gadddbdc58824b567334d46493decc90f8">channel_ref_check_state</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref, channel_state_e state);</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga49d6ba5f0b9aad95ae5c5710dca392a1">channel_ref_close</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref);</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="keyword">extern</span> socket_t <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gaf0c977ef05b7e767a8ef166a8037ec8b">channel_ref_get_socket_fd</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref);</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct__stream__t.html">stream_t</a>* <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gaf8d2758e1e063e04512049c9a9869d5e">channel_ref_get_stream</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref);</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct__loop__t.html">loop_t</a>* <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gad840fd786ca7092d528a8fc45c2e2a76">channel_ref_get_loop</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref);</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga7627dbcdb87269ef2fae5bcbbb210720">channel_ref_set_cb</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref, channel_ref_cb_t cb);</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">void</span> <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga4e46196f7ac40bdd14a1407167e88b7b">channel_ref_set_timeout</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref, <span class="keywordtype">int</span> timeout);</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct__address__t.html">address_t</a>* <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga7bcafd2461a1edfde9c581cb946dcd44">channel_ref_get_peer_address</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref);</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;<span class="keyword">extern</span> <a class="code" href="struct__address__t.html">address_t</a>* <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga1dcf6af0c992fa21f9dcd03c8f763ec4">channel_ref_get_local_address</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref);</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;<span class="keyword">extern</span> uint64_t <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga3fd39b821fef38abd518db6240e79068">channel_ref_get_uuid</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* channel_ref);</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;<span class="keyword">extern</span> <span class="keywordtype">int</span> <a class="code" href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gad44fcb68845cb3ebb582a9de6db9abd0">channel_ref_equal</a>(<a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* a, <a class="code" href="struct__channel__ref__t.html">channel_ref_t</a>* b);</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;<span class="preprocessor">#endif </span><span class="comment">/* CHANNEL_REF_API_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_gae003fde214ddbf4feec22ddb89b8257c"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gae003fde214ddbf4feec22ddb89b8257c">channel_ref_check_balance</a></div><div class="ttdeci">int channel_ref_check_balance(channel_ref_t *channel_ref)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:525</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_gad840fd786ca7092d528a8fc45c2e2a76"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gad840fd786ca7092d528a8fc45c2e2a76">channel_ref_get_loop</a></div><div class="ttdeci">loop_t * channel_ref_get_loop(channel_ref_t *channel_ref)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:271</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_gad44fcb68845cb3ebb582a9de6db9abd0"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gad44fcb68845cb3ebb582a9de6db9abd0">channel_ref_equal</a></div><div class="ttdeci">int channel_ref_equal(channel_ref_t *a, channel_ref_t *b)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:642</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_gaf0c977ef05b7e767a8ef166a8037ec8b"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gaf0c977ef05b7e767a8ef166a8037ec8b">channel_ref_get_socket_fd</a></div><div class="ttdeci">socket_t channel_ref_get_socket_fd(channel_ref_t *channel_ref)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:261</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_ga1a8d1f5550cf26313cbb6575e8b2a32c"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga1a8d1f5550cf26313cbb6575e8b2a32c">channel_ref_connect</a></div><div class="ttdeci">int channel_ref_connect(channel_ref_t *channel_ref, const char *ip, int port, int timeout)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:111</div></div>
<div class="ttc" id="struct__loop__t_html"><div class="ttname"><a href="struct__loop__t.html">_loop_t</a></div><div class="ttdef"><b>Definition:</b> loop.c:35</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_ga7627dbcdb87269ef2fae5bcbbb210720"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga7627dbcdb87269ef2fae5bcbbb210720">channel_ref_set_cb</a></div><div class="ttdeci">void channel_ref_set_cb(channel_ref_t *channel_ref, channel_ref_cb_t cb)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:558</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_ga7bcafd2461a1edfde9c581cb946dcd44"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga7bcafd2461a1edfde9c581cb946dcd44">channel_ref_get_peer_address</a></div><div class="ttdeci">address_t * channel_ref_get_peer_address(channel_ref_t *channel_ref)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:582</div></div>
<div class="ttc" id="struct__channel__ref__t_html"><div class="ttname"><a href="struct__channel__ref__t.html">_channel_ref_t</a></div><div class="ttdef"><b>Definition:</b> channel_ref.c:57</div></div>
<div class="ttc" id="struct__stream__t_html"><div class="ttname"><a href="struct__stream__t.html">_stream_t</a></div><div class="ttdef"><b>Definition:</b> stream.c:33</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_gadddbdc58824b567334d46493decc90f8"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gadddbdc58824b567334d46493decc90f8">channel_ref_check_state</a></div><div class="ttdeci">int channel_ref_check_state(channel_ref_t *channel_ref, channel_state_e state)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:308</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_ga4e46196f7ac40bdd14a1407167e88b7b"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga4e46196f7ac40bdd14a1407167e88b7b">channel_ref_set_timeout</a></div><div class="ttdeci">void channel_ref_set_timeout(channel_ref_t *channel_ref, int timeout)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:530</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_ga3fd39b821fef38abd518db6240e79068"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga3fd39b821fef38abd518db6240e79068">channel_ref_get_uuid</a></div><div class="ttdeci">uint64_t channel_ref_get_uuid(channel_ref_t *channel_ref)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:637</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_ga49d6ba5f0b9aad95ae5c5710dca392a1"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga49d6ba5f0b9aad95ae5c5710dca392a1">channel_ref_close</a></div><div class="ttdeci">void channel_ref_close(channel_ref_t *channel_ref)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:183</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_ga7b76c4078bbe8272206a5d7467ccd4ed"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga7b76c4078bbe8272206a5d7467ccd4ed">channel_ref_share</a></div><div class="ttdeci">channel_ref_t * channel_ref_share(channel_ref_t *channel_ref)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:145</div></div>
<div class="ttc" id="struct__address__t_html"><div class="ttname"><a href="struct__address__t.html">_address_t</a></div><div class="ttdef"><b>Definition:</b> address.c:27</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_gaf8d2758e1e063e04512049c9a9869d5e"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gaf8d2758e1e063e04512049c9a9869d5e">channel_ref_get_stream</a></div><div class="ttdeci">stream_t * channel_ref_get_stream(channel_ref_t *channel_ref)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:266</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_gab4248c6e10ac538b5d37b927bbe39ef1"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gab4248c6e10ac538b5d37b927bbe39ef1">channel_ref_leave</a></div><div class="ttdeci">void channel_ref_leave(channel_ref_t *channel_ref)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:159</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_ga1dcf6af0c992fa21f9dcd03c8f763ec4"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#ga1dcf6af0c992fa21f9dcd03c8f763ec4">channel_ref_get_local_address</a></div><div class="ttdeci">address_t * channel_ref_get_local_address(channel_ref_t *channel_ref)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:592</div></div>
<div class="ttc" id="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8_html_gae9ae0ae2a42eabf6a544ce4e0f001c9e"><div class="ttname"><a href="group___xE7_xAE_xA1_xE9_x81_x93_xE5_xBC_x95_xE7_x94_xA8.html#gae9ae0ae2a42eabf6a544ce4e0f001c9e">channel_ref_accept</a></div><div class="ttdeci">int channel_ref_accept(channel_ref_t *channel_ref, const char *ip, int port, int backlog)</div><div class="ttdef"><b>Definition:</b> channel_ref.c:127</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
生成于 2015年 七月 9日 星期四 14:59:53 , 为 knet使用  &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
